/* 
Kriesi (http://themeforest.net/user/Kriesi)
http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery 
*/

function quick() {
    $("#quick ul ").css({ display: "none" });
    $("#quick li").hover(function () {
	$(this).find('ul:first').css({visibility: "visible",display: "none"}).show(400);
    }, function () {
        $(this).find('ul:first').css({ visibility: "hidden" });
    });
}

function color() {
    $("#change-color").click(function () {
        if ($("#colors-switcher").css("display") == "none") $("#colors-switcher").show("slow");
        else $("#colors-switcher").hide("slow");
    });
}

$(document).ready(function () {
    quick();
    color();
});